﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Interfaces
{
    interface Interface1
    {
        interface IShout
        {
            void Miao();
            void Hou();
        }

        class Cat : IShout
        {
            public void Hou()
            {
            }

            public void Miao()
            {
                Console.WriteLine("This is Cat Shout");
            }
        }

        class Tiger : IShout
        {
            public void Hou()
            {
                Console.WriteLine("This is Tiger Shout");
            }

            public void Miao()
            {
            }
        }

        public interface Chinese
        {
            string Speak();
        }
        public class Speaker : Chinese
        {
            public string Speak()
            {
                Console.WriteLine("China");
                return "中文";
            }

        }

    }
}
